package model.entity;

import java.util.Date;



public class PhongTro {

    private int maphongtro;
    private String tieudegioithieu;
    private String tenchunha;
    private int sdt;
    private String diachi;
    private float danhgia;
    private int sophong;
    private int dientich;
    private int giaphong;
    private String ghichu;
    private Date ngaydang;
    private float kinhdo;
    private float vido;
    private int songuoidanhgia;
    private String diachiMAC;
    private boolean isActive;
//    Khai bao 2 doi tuong tham chieu
    private Quan quan;
    private User user;
//
//    public PhongTro(int i, String tieudegioithieu, String tenchunha, int sdt, String diachi, int danhgia, int sophong, int dientich, int giaphong, String ghichu, Object object, float kinhdo, float vido, boolean b, Object object0, Quan maquan) {
//        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
//    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public PhongTro() {
    }

    public PhongTro(int maphongtro, String tieudegioithieu, String tenchunha, int sdt, String diachi, float danhgia, int sophong, int dientich, int giaphong, String ghichu, Date ngaydang, float kinhdo, float vido , boolean isActive, Quan quan, User user) {
        this.maphongtro = maphongtro;
        this.tieudegioithieu = tieudegioithieu;
        this.tenchunha = tenchunha;
        this.sdt = sdt;
        this.diachi = diachi;
        this.danhgia = danhgia;
        this.sophong = sophong;
        this.dientich = dientich;
        this.giaphong = giaphong;
        this.ghichu = ghichu;
        this.ngaydang = ngaydang;
        this.kinhdo = kinhdo;
        this.vido = vido;
        this.songuoidanhgia = songuoidanhgia;
        this.diachiMAC = diachiMAC;
        this.isActive = isActive;
        this.quan = quan;
        this.user = user;
    }

    public int getSonguoidanhgia() {
        return songuoidanhgia;
    }

    public void setSonguoidanhgia(int songuoidanhgia) {
        this.songuoidanhgia = songuoidanhgia;
    }

    public String getDiachiMAC() {
        return diachiMAC;
    }

    public void setDiachiMAC(String diachiMAC) {
        this.diachiMAC = diachiMAC;
    }

    public int getMaphongtro() {
        return maphongtro;
    }

    public void setMaphongtro(int maphongtro) {
        this.maphongtro = maphongtro;
    }

    public String getTieudegioithieu() {
        return tieudegioithieu;
    }

    public void setTieudegioithieu(String tieudegioithieu) {
        this.tieudegioithieu = tieudegioithieu;
    }

    public String getTenchunha() {
        return tenchunha;
    }

    public void setTenchunha(String tenchunha) {
        this.tenchunha = tenchunha;
    }

    public int getSdt() {
        return sdt;
    }

    public void setSdt(int sdt) {
        this.sdt = sdt;
    }

    public String getDiachi() {
        return diachi;
    }

    public void setDiachi(String diachi) {
        this.diachi = diachi;
    }

    public float getDanhgia() {
        return danhgia;
    }

    public void setDanhgia(float danhgia) {
        this.danhgia = danhgia;
    }

    public int getSophong() {
        return sophong;
    }

    public void setSophong(int sophong) {
        this.sophong = sophong;
    }

    public int getDientich() {
        return dientich;
    }

    public void setDientich(int dientich) {
        this.dientich = dientich;
    }

    public int getGiaphong() {
        return giaphong;
    }

    public void setGiaphong(int giaphong) {
        this.giaphong = giaphong;
    }

    public String getGhichu() {
        return ghichu;
    }

    public void setGhichu(String ghichu) {
        this.ghichu = ghichu;
    }

    public Date getNgaydang() {
        return ngaydang;
    }

    public void setNgaydang(Date ngaydang) {
        this.ngaydang = ngaydang;
    }

    public float getKinhdo() {
        return kinhdo;
    }

    public void setKinhdo(float kinhdo) {
        this.kinhdo = kinhdo;
    }

    public float getVido() {
        return vido;
    }

    public void setVido(float vido) {
        this.vido = vido;
    }

    public boolean isIsActive() {
        return isActive;
    }

    public void setIsActive(boolean isActive) {
        this.isActive = isActive;
    }

    public Quan getQuan() {
        return quan;
    }

    public void setQuan(Quan quan) {
        this.quan = quan;
    }

}
